package com.app.backend.base.dao.mapper;

import com.app.backend.base.entity.Permission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @program: PermissionMapper
 * @description:
 * @author: Zhun.Xiao
 * @create: 2020-02-08 18:25
 **/
public interface PermissionMapper extends BaseMapper<Permission> {
    List<Permission> findByUserId(@Param("userId") String userId);
}